package com.baizhi.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class VideosPO implements Serializable {
    private Integer id;
    private String title;
    private String cover;
    private String intro;
    private Integer uid;
    private String link;

    @JsonProperty("category_id")
    private Integer categoryId;

    private String category;

    private UserPO uploader;

}
